Broadway: Remove display assumptions
authorMatthias Clasen <mclasen@redhat.com>
Sat, 25 Oct 2014 14:31:31 +0000 (10:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 25 Oct 2014 14:32:53 +0000 (10:32 -0400)
commitf733fa88f585693a12137210c02aa93451b293c9
treecb1c3fefc2f4516f8d8e5347450fb1abea3b835b
parent23641e3103a9d2883634e496a34e96d407b3d63b
Broadway: Remove display assumptions

In various places, the broadway backend was just using
the default display and assumed that it is the broadway
display. That may not be the case in a multi-backend world,
so instead iterate over all displays and use the first
broadway display - still not perfect, but enough to survive
for now.
gdk/broadway/gdkdevice-broadway.c
gdk/broadway/gdkeventsource.c
gdk/broadway/gdkwindow-broadway.c